<template>
	<view class="messageBox">
	
		
			<uv-parse :content="content"></uv-parse>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content:''
			};
		},
		onLoad(opt) {
			this.getList()
		},
		methods: {
				
			async getList(){
			const {data} = 	await this.$api.richtexts()
			console.log(data)
				this.content = data.content
				uni.setNavigationBarTitle({
					title:data.title
				})
			
			},
			goBack() {
				uni.navigateBack({
					delta: 1
				})
			},
		}
	}
</script>

<style lang="scss" scoped>
	.messageBox {
		min-height: 100vh;
		background-color: #fff;
		padding: 24rpx ;

		
	}
</style>